Language Object Types
The Speech Recognition Manager defines constants for the four subclasses of theSRLanguageObject
class. You can use these constants, for instance, to help interpret the value of a language object'skSRLMObjType
property.
enum { kSRLanguageModelType = 'lmob', kSRPathType = 'path', kSRPhraseType = 'phra', kSRWordType = 'word' };Constant descriptions
kSRLanguageModelType
- A language model (that is, an object of type
SRLanguageModel
).kSRPathType
- A path (that is, an object of type
SRPath
).kSRPhraseType
- A phrase (that is, an object of type
SRPhrase
).kSRWordType
- A word (that is, an object of type
SRWord
).